mod const_v;
// mod b;
// mod my_number;

// use b::test::son_number;
mod staff;
mod vowel;
use crate::const_v::arr_enum::staff::StaffEnum;
use staff::staff_mod::Company;
use vowel::vowel_fn;
use vowel::vowel_fn1;
fn main() {
    let mut staff_obj = Company::new();
    println!("{:?}", staff_obj);
    StaffEnum::Engineering.to_string();
    staff_obj.add("张三".to_string(), StaffEnum::Engineering.to_string());
    staff_obj.add("广智".to_string(), StaffEnum::Engineering.to_string());
    staff_obj.add("广智".to_string(), StaffEnum::HR.to_string());
    staff_obj.add("a".to_string(), StaffEnum::HR.to_string());

    let sort = staff_obj.get_department(StaffEnum::Engineering.to_string());

    let sort = staff_obj.get_department(StaffEnum::HR.to_string());
    let sort = staff_obj.get_department(StaffEnum::HR.to_string());
    println!("{:?}", sort);
    // println!("get_department{:?}", get_val)
    // let str1 = String::from("first");
    // let str2 = String::from("apple");

    // println!("{},", vowel_fn(&str2));
    // vowel_fn1(&str1);
    // vowel_fn1(&str2);
    // println!("{},", )
    // vowel_fn(str2);
}
